import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";



const routes:Array<RouteRecordRaw>=[
    {
        path:'/',
        name:'Home',
        component:()=>import('../components/HelloWorld.vue')
    },
    {
        path:'/Ulogin',
        name:'Ulogin',
        component:()=>import('../components/Ulogin.vue')
    },
    {
        path:'/Infor:Uname',
        name:'Infor',
        component:()=>import('../components/Infor.vue')
    }
]

const Router= createRouter({
    history:createWebHistory(),
    routes
})
export default Router

